package com.boe.csb.core.entity.po;

import java.io.Serializable;
import java.util.Date;

public class BoeUserMobilemsg implements Serializable {
    private Integer id;

    /**
     * 短信类型，1:注册短信
     */
    private Byte type;

    private String revnum;

    private String username;

    private String code;

    private Date sendtime;

    private static final long serialVersionUID = 1L;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Byte getType() {
        return type;
    }

    public void setType(Byte type) {
        this.type = type;
    }

    public String getRevnum() {
        return revnum;
    }

    public void setRevnum(String revnum) {
        this.revnum = revnum == null ? null : revnum.trim();
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username == null ? null : username.trim();
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code == null ? null : code.trim();
    }

    public Date getSendtime() {
        return sendtime;
    }

    public void setSendtime(Date sendtime) {
        this.sendtime = sendtime;
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", id=").append(id);
        sb.append(", type=").append(type);
        sb.append(", revnum=").append(revnum);
        sb.append(", username=").append(username);
        sb.append(", code=").append(code);
        sb.append(", sendtime=").append(sendtime);
        sb.append("]");
        return sb.toString();
    }
}